package com.demo.small_tool.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReqDTO {

    @NotBlank(message = "body不能为空")
    private String body;

    @NotBlank(message = "url不能为空")
    private String url;

    private String cookie;

    private String header;

    @NotBlank(message = "method不能为空")
    private String method;

    private String value;

}
